package com.zxb.core.util;

import cn.hutool.core.lang.Snowflake;

/**
 * @author Zxb
 */
public class IdUtil {

    private static final Snowflake SNOW_FLAKE = cn.hutool.core.util.IdUtil.getSnowflake(1L, 1L);

    public static Long nextId() {
        return SNOW_FLAKE.nextId();
    }

    public static String nextIdStr() {
        return SNOW_FLAKE.nextIdStr();
    }
}
